<div class="artCon">
	<div class="middleArt">
	<form class="form-horizontal" id="mainForm" action="/${orgi}/manage/system/${type}/propertiessettingeditdo.html" method="post">
		<input type="hidden" name="id" value="${properties.id!''}"/>
		<div class="artMain">
			<div class="mainCenter"> 
					<fieldset class="control-group">
						<label class="control-label" for="name">参数标题：</label>
						<div class="controls">
							<input class="span3 required" required="" maxlength="255"
								 name="title" type="text" value="${properties.title!''}"	
								data-message="参数标题不能为空，请填写后提交"> <span
								class="help-inline"></span><i class="inputip">*</i>
						</div>
					</fieldset>

					<fieldset class="control-group">
						<label class="control-label" for="name">参数项名称：</label>
						<div class="controls">
							<input class="span3 required" required="" maxlength="255"
								 name="name" type="text"  value="${properties.name!''}"
								data-message="参数名称不能为空，请填写后提交"> <span
								class="help-inline"></span><i class="inputip">*</i>
						</div>
					</fieldset>

					<fieldset class="control-group">
						<label class="control-label" for="name">参数值：</label>
						<div class="controls">
							<input class="span3" required="" maxlength="255" value="${properties.value!''}"
								 name="value" type="text"	
								data-message="参数值不能为空，请填写后提交"> <span
								class="help-inline"></span>
						</div>
					</fieldset>	 					

					<fieldset class="control-group">
						<label class="control-label" for="name">参数级别：</label>
						<div class="controls">
							 <label for="a"><input type="radio" name="levels" value="1" id="a" <#if properties.levels?? && properties.levels == "1">checked="checked"</#if>/>重要</label>
							 <label for="b"><input type="radio" name="levels" value="0" id="b" <#if properties.levels?? && properties.levels == "0">checked="checked"</#if>/>次要</label>
						</div>
					</fieldset>
					
					<fieldset class="control-group">
						<label class="control-label" for="name">参数类型：</label>
						<div class="controls">
							<select name ="paramtype">
								<option value="1" <#if properties.paramtype?? && properties.paramtype == "1">selected="selected"</#if>>文本框</option>
								<option value="2" <#if properties.paramtype?? && properties.paramtype == "2">selected="selected"</#if>>下拉框</option>
								<option value="3" <#if properties.paramtype?? && properties.paramtype == "3">selected="selected"</#if>>颜色选择器</option>
								<option value="4" <#if properties.paramtype?? && properties.paramtype == "4">selected="selected"</#if>>日历选择器</option>
								<option value="5" <#if properties.paramtype?? && properties.paramtype == "5">selected="selected"</#if>>不可编辑</option>
								<option value="6" <#if properties.paramtype?? && properties.paramtype == "6">selected="selected"</#if>>分隔线</option>
								<option value="7" <#if properties.paramtype?? && properties.paramtype == "7">selected="selected"</#if>>单选</option>
								<option value="8" <#if properties.paramtype?? && properties.paramtype == "8">selected="selected"</#if>>复选框</option>
							</select>
							<span class="help-inline"></span>
						</div>
					</fieldset>
					
					<#if data ??>
						<fieldset class="control-group">
							<label class="control-label" for="name">分隔线选择：</label>
							<div class="controls">
								<select name ="groupid">
									<option value="">请选择</option>
									<#list data as da>
									<#assign templateSource = "${da.name}"> 
										<option value="${da.name}" <#if properties.groupid?? && properties.groupid == templateSource>selected="selected"</#if> >${da.title}</option>
									</#list>
								</select>
								<span class="help-inline"></span>
							</div>
						</fieldset>	 
					</#if>	 
					
					<fieldset class="control-group">
						<label class="control-label" for="name">参数类型值：</label>
						<div class="controls">
							<textarea name="paramvalue"
								style="width:256px; height:20px; resize:none;" id="" cols="30"
								rows="10">${properties.paramvalue!''}</textarea>
						</div>
					</fieldset>	 
					
					<fieldset class="control-group">
						<label class="control-label" for="name">是否预警：</label>
						<div class="controls">
							 <label for="aa"><input type="radio" name="earlywarning" value="1" id="aa" <#if properties.earlywarning?? && properties.earlywarning == "1">checked="checked"</#if>/>是</label>
							 <label for="bb"><input type="radio" name="earlywarning" value="0" id="bb" <#if properties.earlywarning?? && properties.earlywarning == "0">checked="checked"</#if>/>否</label>
						</div>
					</fieldset>
					
					<fieldset class="control-group">
						<label class="control-label" for="name">数据类型：</label>
						<div class="controls">
							 <select name ="type">
								<option value="string" <#if properties.type?? && properties.type == "string">selected="selected"</#if>>字符</option>
								<option value="number" <#if properties.type?? && properties.type == "number">selected="selected"</#if>>数字</option>
								<option value="dtimes" <#if properties.type?? && properties.type == "dtimes">selected="selected"</#if>>日期</option>
								<option value="colors" <#if properties.type?? && properties.type == "colors">selected="selected"</#if>>颜色</option>
								<option value="blean" <#if properties.type?? && properties.type == "blean">selected="selected"</#if>>布尔</option>
							</select>
							<span class="help-inline"></span>
						</div>
					</fieldset>

					<fieldset class="control-group">
						<label class="control-label" for="name">描述：</label>
						<div class="controls">
							<textarea name="description" 
								style="width:256px; height:30px; resize:none;" id="" cols="30"
								rows="10">${properties.description!''}</textarea>
						</div>
					</fieldset>

				</div>
		</div>
		<div class="mainCenter">
		</div>
		<div class="bottomBg">
			<div class="btnWrap">
				<a href="javascript:document.getElementById('mainForm').submit()" class="btnStyle1">确认</a>
				<input type="button" onclick="closeR3ArtDialog()" class="cancelButtonStyle" value="取消"/>
			</div>
		</div>
	</form>
	</div>
</div>
